
import br.edu.ifal.newnews.bd.ConexaoBD;
import br.edu.ifal.newnews.gui.FrmPrincipal;
import br.edu.ifal.newnews.gui.FrmTelaLogin;
import java.sql.Connection;
import java.sql.SQLException;
import javax.swing.JFrame;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


/**
 *
 * @author ifal
 */
public class NewNews {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) throws SQLException {
          new FrmTelaLogin().setVisible(true);
          
         ConexaoBD c = new ConexaoBD();
         Connection con = c.abreConexao();
         System.out.println("conectado");
         con.close();
                
    }
}
